<?php 

$server = array_reverse(explode('.', $_SERVER['SERVER_NAME']));

switch ($server[0])
{	
	case "fr" : // bE.fr
	{
		$GLOBALS['meta']['adresse_site'] = "http://www.blueenergy.fr";
		$GLOBALS['meta']['geomap_googlemapkey'] = "ABQIAAAAwlTrSUvv0l8AfH6oGeXtIxRYs24Icp5NHhylwpn8VRYgMW0U6BTulfEiNRJIP2YSYpjOAeJu2lQvtg";
		break;
	}

	case "es" : // bE.es
	{
		$GLOBALS['meta']['adresse_site'] = "http://www.blueenergy.es";
		$GLOBALS['meta']['geomap_googlemapkey'] = "ABQIAAAAwlTrSUvv0l8AfH6oGeXtIxRfzBOp7V3hqYZ6jPExCknWSZiIWRQrxKvs25z3xiA8suIwPXAdLwqDjw";		
		break;
	}
	
	case "localhost" : // localhost
	{
		$GLOBALS['meta']['adresse_site'] = "localhost";
		$GLOBALS['meta']['geomap_googlemapkey'] = "ABQIAAAAP-XuUR1WM94yd-oIx0-mOhT4TCGcXfcxW_eqENc0rcGGEYWwphQkhP47PRSEh90xyQBkSnukbDUnjQ";		
		break;
	}		
	
	default : // bEgroup.org
	{
		$GLOBALS['meta']['adresse_site'] = "http://www.blueenergygroup.org";
		$GLOBALS['meta']['geomap_googlemapkey'] = "ABQIAAAAwlTrSUvv0l8AfH6oGeXtIxTweky-mqEI3jVtIQzYKknyxWjBYhSs22VztQUDMrBF_Eby6yhmG7Rz2A";		
	}
}

?>
